home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Suzy B Software 2
/
Suzy B Software CD-ROM 2 (1994).iso
/
extras
/
programm
/
gemfsc19
/
gemfsc19.lzh
/
GEMFBIND
/
AESGRAF5.S
< prev
next >
Wrap
Text File
|
1993-03-26
|
1KB
|
47 lines
;*========================================================================
;*
;* AESFAST Public Domain GEM bindings.
;*
;*========================================================================
;*************************************************************************
;*
;* Graphics Library routines 5 of 5.
;*
;*************************************************************************
;-------------------------------------------------------------------------
; graf_watchbox
;-------------------------------------------------------------------------
globl _graf_watchbox
_graf_watchbox:
; .cargs #8,ptree.l,obj,instate,outstate
ptree = 8
obj = 12
instate = 14
outstate = 16
link a6,#-2
move.w outstate(a6),-(sp) ; D*mn AES defines a reserved parm
move.w instate(a6),-(sp) ; for this call, as intin[0], so we
move.w obj(a6),-(sp) ; have to build a new intin instead
clr.w -(sp) ; of pointing to parms on entry.
move.l #$4B040101,d0 ; AControl 75,4,1,1
moveq.l #-2,d1 ; = intout
move.l sp,a1 ; -> intin (we just built it)
lea ptree(a6),a0 ; -> addrin
jsr aes_call
move.w -2(a6),d0
unlk a6
rts
; end of code